package wetogether.community.vo;

/**
 * date : 2010-11-02
 * author : Jeon so-eui
 * comment : 게시물 VO
 */
public class BoardVO {
	private int contentId; 	// 글 id
	private int groupId; 		// 그룹 id
	private int groupPosition; 	// 그룹 내 위치
	private int groupDepth; 	// 그룹 내 깊이
	private String category; 	// 말머리
	private String title; 		// 제목
	private String content; 	// 내용
	private String regDate; 	// 작성일
	private String modDate; 	// 수정일
	private int hits; 			// 조회수
	private String isNotice; 	// 공지사항 여부
	private int commentsHits; 	// 댓글 수
	private int boardId; 		// 게시판 id
	private String memberId; // 회원 id
	private int locationId; 	// 선택 지역 id
	private AttachmentVO attachmentVO; //첨부파일
	
	public BoardVO() {
		super();
	}	
	
	
	public BoardVO(int contentId, int groupId, int groupPosition,
			int groupDepth, String title, String content, String regDate,
			String modDate, int hits, String isNotice, int commentsHits,
			int boardId, String memberId, int locationId,
			AttachmentVO attachmentVO) {
		super();
		this.contentId = contentId;
		this.groupId = groupId;
		this.groupPosition = groupPosition;
		this.groupDepth = groupDepth;
		this.title = title;
		this.content = content;
		this.regDate = regDate;
		this.modDate = modDate;
		this.hits = hits;
		this.isNotice = isNotice;
		this.commentsHits = commentsHits;
		this.boardId = boardId;
		this.memberId = memberId;
		this.locationId = locationId;
		this.attachmentVO = attachmentVO;
	}


	public BoardVO(int contentId, int groupId, int groupPosition,
			int groupDepth, String category, String title, String content,
			String regDate, String modDate, int hits, String isNotice,
			int commentsHits, int boardId, String memberId, int locationId,
			AttachmentVO attachmentVO) {
		super();
		this.contentId = contentId;
		this.groupId = groupId;
		this.groupPosition = groupPosition;
		this.groupDepth = groupDepth;
		this.category = category;
		this.title = title;
		this.content = content;
		this.regDate = regDate;
		this.modDate = modDate;
		this.hits = hits;
		this.isNotice = isNotice;
		this.commentsHits = commentsHits;
		this.boardId = boardId;
		this.memberId = memberId;
		this.locationId = locationId;
		this.attachmentVO = attachmentVO;
	}


	public int getContentId() {
		return contentId;
	}
	
	public void setContentId(int contentId) {
		this.contentId = contentId;
	}
	
	public int getGroupId() {
		return groupId;
	}
	
	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}
	
	public int getGroupPosition() {
		return groupPosition;
	}
	
	public void setGroupPosition(int groupPosition) {
		this.groupPosition = groupPosition;
	}
	
	public int getGroupDepth() {
		return groupDepth;
	}
	
	public void setGroupDepth(int groupDepth) {
		this.groupDepth = groupDepth;
	}
	
	public String getCategory() {
		return category;
	}
	
	public void setCategory(String category) {
		this.category = category;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getContent() {
		return content;
	}
	
	public void setContent(String content) {
		this.content = content;
	}
	
	public String getRegDate() {
		return regDate;
	}
	
	public void setRegDate(String regDate) {
		this.regDate = regDate;
	}
	
	public String getModDate() {
		return modDate;
	}
	
	public void setModDate(String modDate) {
		this.modDate = modDate;
	}
	
	public int getHits() {
		return hits;
	}
	
	public void setHits(int hits) {
		this.hits = hits;
	}
	
	public String getIsNotice() {
		return isNotice;
	}
	
	public void setIsNotice(String isNotice) {
		this.isNotice = isNotice;
	}
	
	public int getCommentsHits() {
		return commentsHits;
	}
	
	public void setCommentsHits(int commentsHits) {
		this.commentsHits = commentsHits;
	}
	
	public int getBoardId() {
		return boardId;
	}
	
	public void setBoardId(int boardId) {
		this.boardId = boardId;
	}
	
	public String getMemberId() {
		return memberId;
	}
	
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	
	public int getLocationId() {
		return locationId;
	}
	
	public void setLocationId(int locationId) {
		this.locationId = locationId;
	}

	public AttachmentVO getAttachmentVO() {
		return attachmentVO;
	}


	public void setAttachmentVO(AttachmentVO attachmentVO) {
		this.attachmentVO = attachmentVO;
	}


	@Override
	public String toString() {
		return "BoardVO [attachmentVO=" + attachmentVO + ", boardId=" + boardId
				+ ", category=" + category + ", commentsHits=" + commentsHits
				+ ", content=" + content + ", contentId=" + contentId
				+ ", groupDepth=" + groupDepth + ", groupId=" + groupId
				+ ", groupPosition=" + groupPosition + ", hits=" + hits
				+ ", isNotice=" + isNotice + ", locationId=" + locationId
				+ ", memberId=" + memberId + ", modDate=" + modDate
				+ ", regDate=" + regDate + ", title=" + title + "]";
	}
	
	
}